package com.example.springbootproject.mianshi.proxy;

import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao{

    @Override
    public int add(int a, int b) {
        System.out.println("执行add方法-----");
        return a+b;
    }

    @Override
    public void update(String s) {
        System.out.println("执行update方法");
    }
}
